<?php

    $content    =   $_POST['content'];
    $phone1     =   $_POST['phone1'];
    $phone2     =   $_POST['phone2'];
    $fax        =   $_POST['fax'];
    $email      =   $_POST['email'];
    $address    =   $_POST['address'];
    $zipcode    =   $_POST['zipcode'];

include "db_connect.php";
$about_update = " UPDATE `about` SET  `id` = NULL, `about_text` =  '$content',`phone1` =  '$phone1',`phone2` =  '$phone2',
                `fax` =  '$fax', `email` = '$email', `address` = '$address', `zip_code` = '$zipcode' ";

if (mysql_query($about_update))
    header ("location:../admin.php?page=about");
else {
    header ("location:../admin.php?page=about_editor");
}


?>
